
<template>
  <div >
    <TitleCard>引入sdn-ui</TitleCard>
    <DescripeCard>在 index.js 中写入以下内容：</DescripeCard>
    <CodeBlock :code="code" lang="javascript" />
  </div>
</template>

<script setup>
const code = `
    import Vue from 'vue'
    import App from './app.vue'
    import router from './router'
    import { install } from "sdnui";
    import 'sdnui/css/index.css'

    Vue.use(install)
    new Vue({
      router,
      render: (h) => h(App),
    }).$mount('#app')
    `;
</script>

<style lang="less" scoped>
</style>